package com.sj.stone.domain.mysql;

import com.sj.stone.domain.mysql.entry.AssUser;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface AssUserRepository extends JpaRepository<AssUser,String>{

    List<AssUser> findByUsernameAndPassword(String username, String password);
    AssUser findByUsername(String username);
}
